/*
 * By: Werner Schuster (murphee)
 * 
 * Copyright (c) 2005-2006 Werner Schuster (murphee)
 * 
 * This file is part of the EclipseShell project. EclipseShell is subject 
 * to the Eclipse Public License (EPL) available at
 * http://www.eclipse.org/org/documents/epl-v10.php
 * or in the file /epl-v10.html in the source for other info
 * see the /eclipseshell.license file
 */
package net.sf.eclipseshell.editors;

import org.eclipse.jface.text.rules.*;

public class BeanshellPartitionScanner extends RuleBasedPartitionScanner {
	public final static String DEFAULT = "__beanshell_default";
	public final static String COMMENT = "__beanshell_comment";

	public BeanshellPartitionScanner() {

		IToken Comment = new Token(COMMENT);

		IPredicateRule[] rules = new IPredicateRule[1];

		rules[0] = new MultiLineRule("/*", "*/", Comment);

		setPredicateRules(rules);
	}
}
